package com.ququ.syb.commission.fegin;

import com.ququ.common.result.ResultJson;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient(name = "publicservice")
public interface PublicServiceFegin {

    @RequestMapping(value = "/workingday/isworkingday")
    ResultJson isWorkingDay(@RequestParam(value = "day") String day);

    @RequestMapping(value = "/workingday/nextworkingday")
    ResultJson getNextWorkingDay(@RequestParam(value = "day") String day);

    @RequestMapping(value = "/workingday/lastworkingday")
    ResultJson getLastWorkingDay(@RequestParam(value = "day") String day);

}
